﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Clipper.Model.ViewModel
{
    public class WorkSheetVM:AbstractModel
    {
        
        ReagentKitVM reagentKit=new ReagentKitVM();
        /// <summary>
        /// 从试管架中获取试剂信息
        /// </summary>
        public ReagentKitVM ReagentKit
        {
            get
            {
                return reagentKit;
            }
            set
            {
                reagentKit = value;
            }
        }

        ObservableCollection<TestTubeSelfInfo> _testTubeShelfList = new ObservableCollection<TestTubeSelfInfo>();
        /// <summary>
        /// 试管架列表
        /// </summary>
        public ObservableCollection<TestTubeSelfInfo> TestTubeShelfList
        {
            get
            {
                return _testTubeShelfList;
            }
            set
            {
                _testTubeShelfList = value;
                this.NotifyPropertyChanged("TestTubeShelfList");
            }
        }
        TestTubeSelfInfo _currentTestTubeShelf;
        /// <summary>
        /// 当前试管架
        /// </summary>
        public TestTubeSelfInfo CurrentTestTubeShelf
        {
            get
            {
                return _currentTestTubeShelf;
            }
            set
            {
                _currentTestTubeShelf = value;
                this.NotifyPropertyChanged("CurrentTestTubeShelf");
            }
        }

        ObservableCollection<SampleType> sampleTypeSource;
        /// <summary>
        /// 样本类型列表
        /// </summary>
        public ObservableCollection<SampleType> SampleTypeSource
        {
            get
            {
                return sampleTypeSource;
            }
            set
            {
                sampleTypeSource = value;
                this.NotifyPropertyChanged("SampleTypeSource");
            }
        }
        Dictionary<string, WorkSheetStatistics> _workItemList = new Dictionary<string, WorkSheetStatistics>();
        /// <summary>
        /// 样本的检测项列表
        /// </summary>
        public Dictionary<string, WorkSheetStatistics> WorkItemList
        {
            get
            {
                return _workItemList;
            }
            set
            {
                _workItemList = value;
            }
        }


        public WorkSheetVM()
        {
             
        }
    }
}
